package com.graduation.lastproject.entity;

public class Commodityorder extends Page{
    private String id;
    private String userId;
    private String commodity_id;
    private String commodity_pic;
    private String commodity_address;
    private Integer state;
    private Integer usedIntegral;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCommodity_id() {
        return commodity_id;
    }

    public void setCommodity_id(String commodity_id) {
        this.commodity_id = commodity_id;
    }

    public String getCommodity_pic() {
        return commodity_pic;
    }

    public void setCommodity_pic(String commodity_pic) {
        this.commodity_pic = commodity_pic;
    }

    public String getCommodity_address() {
        return commodity_address;
    }

    public void setCommodity_address(String commodity_address) {
        this.commodity_address = commodity_address;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getUsedIntegral() {
        return usedIntegral;
    }

    public void setUsedIntegral(Integer usedIntegral) {
        this.usedIntegral = usedIntegral;
    }

    @Override
    public String toString() {
        return "Commodityorder{" +
                "id='" + id + '\'' +
                ", userId='" + userId + '\'' +
                ", commodity_id='" + commodity_id + '\'' +
                ", commodity_pic='" + commodity_pic + '\'' +
                ", commodity_address='" + commodity_address + '\'' +
                ", state=" + state +
                ", usedIntegral=" + usedIntegral +
                '}';
    }
}
